//
//  HaomalanManager.m
//  SSC
//
//  Created by 红沙尘 on 17/6/18.
//  Copyright © 2017年 红沙尘. All rights reserved.
//

#import "HaomalanManager.h"

@interface HaomalanManager ()
{
    NSMutableArray *_lanziArray;
}
@end

@implementation HaomalanManager

- (id)init {
    self = [super init];
    
    if (self) {
        _lanziArray = [[NSMutableArray alloc] init];
    }
    return self;
}

- (void)insertObject:(id)object {
    if (!object) return;
    
    [_lanziArray insertObject:object atIndex:0];
}

- (void)removeObjectAtIndex:(NSInteger)index {
    [_lanziArray removeObjectAtIndex:index];
}

- (void)removeAllOjbect {
    [_lanziArray removeAllObjects];
}

- (NSInteger)count {
    return _lanziArray.count;
}

@end





